//
//  PicNewsInfoModel.h
//  govern
//  图片新闻
//  Created by freedom on 14-8-21.
//  Copyright (c) 2014年 LiangLigeng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PicNewsInfoModel : NSObject

//@property (nonatomic,retain) NSString *ID;//新闻ID
@property (nonatomic,retain) NSString *cotentID;//新闻ID
@property (nonatomic,retain) NSString *title;//标题
@property (nonatomic,retain) NSString *imageUrl;//图片地址
//@property (nonatomic,retain) NSString *type;//图片类别
@property (nonatomic,retain) NSString *createdate;//创建时间

//将对象转换为字典
-(NSDictionary *) toDictionary;

+(PicNewsInfoModel *) picNewsFromDictionary:(NSDictionary *)dic;

+(BOOL) savePicNews:(PicNewsInfoModel *)model;

+(BOOL) deleteAllPicNews;

+(NSMutableArray *) getAllPicNews;

@end
